package com.eascs.ticket.ticket.service;

import java.util.List;

import javax.annotation.Resource;

import com.alibaba.dubbo.config.annotation.Service;
import com.eascs.ticket.common.entity.TicketFrom;
import com.eascs.ticket.common.service.BaseSevice;
import com.eascs.ticket.common.service.TicketServiceInterface;

@Service
public class TicketServiceApi extends BaseSevice implements TicketServiceInterface {
	@Resource(name = "localApi")
	TicketServiceInterface localApi;

	@Override
	public int insertTicket(TicketFrom ticketFrom) {
		return localApi.insertTicket(ticketFrom);
	}

	@Override
	public List<Object[]> findObjectsList(String sql, Object... params) {
		return localApi.findObjectsList(sql, params);
	}
}
